package org.walkerljl.commons.unit.dao.impl;


import org.walkerljl.commons.unit.dao.UserDao;
import org.walkerljl.commons.unit.domain.User;

/**
 * @author lijunlin
 */
public class UserDaoImpl implements UserDao {

    @Override
    public User selectByUserId(String userId) {
        User user = new User(userId);
        return user;
    }

    @Override
    public User selectByUserIdAndName(String userId, String userName) {
        User user = new User(userId, userName);
        return user;
    }
}
